package com.neuedu.jetty.contoller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class JspController {


    /**
     *  http://127.0.0.1/toview
     * @return
     */
    @GetMapping("toview")
    String toView(){
        return "forward:/index.jsp";
    }


    @GetMapping("userList")
    String userList(){
        return "user/user_list";
    }
}
